package com.gzx.plugin.tjzy.modular.allocate.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.gzx.plugin.tjzy.modular.allocate.entity.GzxAllocateRecord;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vip.xiaonuo.common.pojo.CommonEntity;


/**
 * 分案记录视图对象 gzx_allocate_case_log
 *
 * @author LionLi
 * @date 2024-09-20
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GzxAllocateRecord.class)
public class GzxAllocateRecordVo extends CommonEntity {

    private String id;

    @Trans(type = TransType.DICTIONARY, key = "AllocateType")
    private String type;

    @TableField(fill = FieldFill.INSERT)
    @Trans(type = TransType.RPC, targetClassName = "vip.xiaonuo.sys.modular.user.entity.SysUser", fields = "name", alias = "mediatorId", ref = "mediatorName", serviceName = "snowy-web-app")
    private String mediatorId;

    /**
     * 调解员姓名
     */
    private String mediatorName;
}
